package com.zhang.demo.spring.config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class JavaConfig {

    @Bean("helloworld")
    public HelloWorld helloWorld(){
        return  new HelloWorldImpl();
    }

}
